<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>VueComponents</title>
    <!--<script src="https://unpkg.com/vue"></script>-->
    <script src="js-support/Vuejs/Vue.js"></script>
    <script>
        window.onload=function(){
            Vue.component('my-component', {
                template: '<div>A custom component!</div>'
            })
            var example = new Vue({
                el: '#example',
                // 选项

            })

        }
    </script>
</head>
<body>
<div id="example">
    <my-component></my-component>
</div>
</body>
</html>